define(['template','scprit/followup/template/prematureOvarianFailure/prematureOvarianFailureDetail.tpl.js'],function(template,$tpl){
    var ui = {};
    /*基本信息*/
    ui.basicInfoInit = function(options){
        $(options.id).html($tpl.basicInfo());
        var html = template("basicInfo-tpl",options.data);
        $(options.id).html(html);
    };
    /*调查报告*/
    ui.surveyResultInit = function(options){
        $(options.id).html($tpl.surveyResult());
        var html = template("surveyResult-tpl",options.data);
        $(options.id).html(html);
    };
    ui.lesInit = function(options){
        $(options.id).html($tpl.les());
        var html = template("les-tpl",options.data);
        $(options.id).html(html);
    };
    /*  右侧 -- 答题模块 */
    ui.questionsItemInit = function(options){
        $(options.id).html($tpl.questionsItem());
        var html = template("questionsItem-tpl",options);
        $(options.id).html(html);
    };
    /*  左侧 -- 答问卷列表 */
    ui.questionsLesInit = function(options){
        $(options.id).html($tpl.questionsLes());
        var html = template("questionsLes-tpl",options.data);
        $(options.id).html(html);
    };
    /*  弹窗 */
    ui.modalMarkInit = function(options){
        $(options.id).html($tpl.modalMark());
        var html = template("modalMark-tpl",options);
        $(options.id).html(html);
    };
    return ui;
});